package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TMarketingReceiveHistoryCouponExample;
import com.xingkeduo.model.po.TMarketingReceiveHistoryCoupon;

public interface TMarketingReceiveHistoryCouponMapper {
    int countByExample(TMarketingReceiveHistoryCouponExample example);

    int deleteByExample(TMarketingReceiveHistoryCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingReceiveHistoryCoupon record);

    int insertSelective(TMarketingReceiveHistoryCoupon record);

    List<TMarketingReceiveHistoryCoupon> selectByExampleWithBLOBs(TMarketingReceiveHistoryCouponExample example);

    List<TMarketingReceiveHistoryCoupon> selectByExample(TMarketingReceiveHistoryCouponExample example);

    TMarketingReceiveHistoryCoupon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingReceiveHistoryCoupon record, @Param("example") TMarketingReceiveHistoryCouponExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingReceiveHistoryCoupon record, @Param("example") TMarketingReceiveHistoryCouponExample example);

    int updateByExample(@Param("record") TMarketingReceiveHistoryCoupon record, @Param("example") TMarketingReceiveHistoryCouponExample example);

    int updateByPrimaryKeySelective(TMarketingReceiveHistoryCoupon record);

    int updateByPrimaryKeyWithBLOBs(TMarketingReceiveHistoryCoupon record);

    int updateByPrimaryKey(TMarketingReceiveHistoryCoupon record);
}